package com.stylefeng.guns.modular.system.warpper;

import java.util.List;
import java.util.Map;

import com.stylefeng.guns.core.base.warpper.BaseControllerWarpper;
import com.stylefeng.guns.core.common.constant.factory.ConstantFactory;

/**
 * 
 * @author sxh
 * @date 2018年11月7日 下午2:45:57
 * @function <p>学生管理的包装类 </p>
 *
 */
public class StudentWrapper extends BaseControllerWarpper {

	public StudentWrapper(List<Map<String, Object>> list) {
		super(list);
		// TODO Auto-generated constructor stub
	}

	@Override
	protected void warpTheMap(Map<String, Object> map) {
		// TODO Auto-generated method stub
		 map.put("sexName", ConstantFactory.me().getSexName((Integer)map.get("sex")));
	}
   
}
